package com.lanchetech.admin.erp;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class JuShuiTanProperties {


    /**
     * 请求地址
     */
    @Value("${jushuitan.serverUrl}")
    private String serverUrl;

    /**
     * 开放平台地址
     */
    @Value("${jushuitan.openWebUrl}")
    private String openWebUrl;

    /**
     * 应用的appKey
     */
    @Value("${jushuitan.appKey}")
    private String appKey;

    /**
     * 应用的appSecret
     */
    @Value("${jushuitan.appSecret}")
    private String appSecret;

    /**
     * 回调验证是否开启
     */
    @Value("${jushuitan.callBack.signature}")
    private Boolean signature;


    public String getServerUrl() {
        return serverUrl;
    }

    public void setServerUrl(String serverUrl) {
        this.serverUrl = serverUrl;
    }

    public String getOpenWebUrl() {
        return openWebUrl;
    }

    public void setOpenWebUrl(String openWebUrl) {
        this.openWebUrl = openWebUrl;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public Boolean getSignature() {
        return signature;
    }

    public void setSignature(Boolean signature) {
        this.signature = signature;
    }
}
